package com.taobao.mrs.zookeeper.test;

public class HConnectionImpl {

//	private synchronized void setupZookeeperTrackers()
//			throws ZooKeeperConnectionException {
//		// initialize zookeeper and master address manager
//		this.zooKeeper = getZooKeeperWatcher();
//		masterAddressTracker = new MasterAddressTracker(this.zooKeeper, this);
//		masterAddressTracker.start();
//		
//	}
//
//	public synchronized ZooKeeperWatcher getZooKeeperWatcher()
//			throws ZooKeeperConnectionException {
//		if (zooKeeper == null) {
//			try {
//				this.zooKeeper = new ZooKeeperWatcher(conf, "hconnection", this);
//			} catch (ZooKeeperConnectionException zce) {
//				throw zce;
//			} catch (IOException e) {
//				throw new ZooKeeperConnectionException("An error is preventing"
//						+ " HBase from connecting to ZooKeeper", e);
//			}
//		}
//		return zooKeeper;
//}
	
}
